home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Info 1994 March
/
Internet Info CD-ROM (Walnut Creek) (March 1994).iso
/
networking
/
ip
/
ka9q
/
alpha.arc
/
FILES.C
< prev
next >
Wrap
Text File
|
1988-06-14
|
3KB
|
72 lines
/* System-dependent definitions of various files, spool directories, etc */
#if (defined(LATTICE) || defined(MAC))
/* These compilers require special open modes when reading binary files
*
* "The single most brilliant design decision in all of UNIX was the
* choice of a SINGLE character as the end-of-line indicator" -- M. O'Dell
*
* "Whoever picked the end-of-line conventions for MS-DOS and the Macintosh
* should be shot!" -- P. Karn's corollary to O'Dells' declaration
*
* Index definitions for this array are in global.h
*/
char *binmode[] = {
"rb", /* Read binary */
"wb" /* Write binary */
};
#else
/* fopen modes for binary files under Aztec -- same as UNIX */
char *binmode[] = {
"r", /* Read */
"w" /* Write */
};
#endif
#ifdef MSDOS
char startup[] = "/autoexec.net"; /* Initialization file */
char userfile[] = "/ftpusers"; /* Authorized FTP users and passwords */
char hosts[] = "/hosts.net"; /* Network host table */
char mailspool[] = "/spool/mail"; /* Incoming mail */
char mailqdir[] = "/spool/mqueue"; /* Outgoing mail spool */
char mailqueue[] = "/spool/mqueue/*.wrk"; /* Outgoing mail work files */
char routeqdir[] = "/spool/rqueue"; /* queue for router */
char alias[] = "/alias"; /* the alias file */
#endif
#ifdef UNIX
char startup[] = "./startup.net"; /* Initialization file */
char config[] = "./config.net"; /* Device configuration list */
char userfile[] = "./ftpusers";
char hosts[] = "./hosts.net";
char mailspool[] = "/usr/spool/mail";
char mailqdir[] = "/usr/spool/mqueue";
char mailqueue[] = "/usr/spool/mqueue/*.wrk";
char routeqdir[] = "/spool/rqueue"; /* queue for router */
char alias[] = "/alias"; /* the alias file */
#endif
#ifdef AMIGA
char startup[] = "TCPIP:net.start";
char config[] = "TCPIP:config.net"; /* Device configuration list */
char userfile[] = "TCPIP:ftpusers";
char hosts[] = "TCPIP:hosts.net";
char mailspool[] = "TCPIP:spool/mail";
char mailqdir[] = "TCPIP:spool/mqueue";
char mailqueue[] = "TCPIP:spool/mqueue/*.wrk";
char routeqdir[] = "TCPIP:spool/rqueue"; /* queue for router */
char alias[] = "TCPIP:alias"; /* the alias file */
#endif
#ifdef MAC
char startup[] ="Mikes Hard Disk:net.start";
char config[] = "Mikes Hard Disk:config.net"; /* Device configuration list */
char userfile[] = "Mikes Hard Disk:ftpusers";
char hosts[] = "Mikes Hard Disk:hosts.net";
char mailspool[] = "Mikes Hard Disk:spool:mail:";
char mailqdir[] = "Mikes Hard Disk:spool:mqueue:";
char mailqueue[] = "Mikes Hard Disk:spool:mqueue:*.wrk";
char routeqdir[] = "Mikes Hard Disk:spool/rqueue:"; /* queue for router */
char alias[] = "Mikes Hard Disk:alias"; /* the alias file */
#endif